package com.li.server.dao;

import java.util.List;

import com.li.client.entities.BookInfo;

public interface BookInfoDao {
	List<BookInfo> getAllBookInfo();
	
	Boolean borrowBook(String userId, String isbnCode);
	
	Boolean returnBook(Integer pkUserId, Integer pkBookId);
	
	BookInfo getBookByISBN(String isbnCode);
	
	Integer getBookInStock(String isbnCode);
	
	Boolean batchInsert(List<BookInfo> bookInfoList);
}
